package software;

import java.util.Iterator;

public class Mai_main extends Mai_done{
	private Pla_item plateitem=new Pla_item();
	private Iterator iterator;
	
	public void Begin(){
		Pla_Read();
		iterator=plates.iterator();
	}
	public void getPlates(){
		if(iterator.hasNext()){
			plateitem=(Pla_item)iterator.next();
		}
	}
	public int getID(){
		return plateitem.ID;
	}
	public String getNam_Plate(){
		return plateitem.Nam_Plate;
	}
	public int getNum_Clicks(){
		return plateitem.Num_Clicks;
	}
	public int getNum_Post(){
		return plateitem.Num_Post;
	}
}